package solutions.ferpa.ztest.intf;

import br.com.telescope.t2.ModuleNavigator;
import br.com.telescope.t2.ServiceNavigation;

public class ModCertificCalibr extends ModuleNavigator {
    
    public ModCertificCalibr() {
        
        setGlobalName("ZTEST.MOD_CERTIFIC_CALIBR");
        setInitialService(CadCertificadoCalibracao.class, "LIST");
        
        addNavigation((new ServiceNavigation())
                .id("21854601")
                .name("MASTER")
                .label("Certificado de calibração")
                .destination(CadCertificadoCalibracao.class)
                .feature("VIEW")
                .parameterName("A_ID")
                );
        addNavigation((new ServiceNavigation())
                .id("21854620")
                .name("INSTR_CALIBR")
                .label("Calibrações do instrumento")
                .destination(CadCalibracaoInstrumento.class)
                .feature("LIST")
                .parameterName("P_ID_CERTIFICADO_CALIBRACAO")
                );
    }
}
